export default [
  {
    path: '/user/list',
    name: 'userlist',
    meta: {
      role: ["admin", "user"]
    },
    component: () => import('@/views/UserList.vue')
  },
  {
    path: '/house/info',
    name: 'houseinfo',
    meta: {
      role: ["admin", "user"]
    },
    component: () => import('@/views/HouseInfo.vue')
  },
  {
    path: '/house/list',
    name: 'houselist',
    meta: {
      role: ["admin", "user"]
    },
    component: () => import('@/views/HouseList.vue')
  },
  {
    path: '/service',
    name: 'service',
    meta: {
      role: ["admin", "user"]
    },
    component: () => import('@/views/Service.vue')
  },
  {
    path: '/admin',
    name: 'admin',
    meta: {
      role: ["admin"]
    },
    component: () => import('@/views/Admin.vue')
  }
]
